package cn.yuemouren.unionfind;

/**
 * @Author: Timi
 * @Description: 并查集接口
 * @Date: 2020/7/12 16:52
 * @Version: v1.0
 */
public interface UnionFind {

    void union(int p,int q);

    boolean isConnectioned(int p,int q);
}
